<template>
  <el-container class="home">
    <!--头部-->
    <el-header>
      <MenuHeader class="ub main-justify cross-center menu-header"></MenuHeader>
    </el-header>
    <!--侧边栏-->
    <el-container>
      <el-aside width="auto">
        <MenuBar></MenuBar>
      </el-aside>
      <el-main style="background: #fff">Main</el-main>
    </el-container>
  </el-container>
</template>

<script>
import MenuHeader from '../components/layout/MenuHeader'
import MenuBar from '../components/layout/MenuBar'
export default {
  name: "Home",
  components: {
    MenuHeader,MenuBar
  }
};
</script>
<style scoped>
.home {
  height: 100%;
}
.el-header {
    background-image: linear-gradient(to top, #4481eb 0%, #04befe 100%);
}
.menu-header {
    margin-top: 6px;
}
</style>
